unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, OverbyteIcsWndControl, OverbyteIcsFtpCli;

type
  TForm1 = class(TForm)
    FtpClient1: TFtpClient;
    Btnx_1: TButton;
    procedure Btnx_1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.Btnx_1Click(Sender: TObject);
begin
  Self.FtpClient1.HostName:='192.168.0.73';
  Self.FtpClient1.Port    :='21';
  Self.FtpClient1.UserName:='yxc';
  Self.FtpClient1.PassWord:='yxc';
  Self.FtpClient1.LocalFileName:='list.txt';
  Self.FtpClient1.Passive :=True;
  //Self.FtpClient1.List;
  Self.FtpClient1.PutAsync;
end;

end.
